package iscte.iul.dcti.pa.a2013_14;
import iscte.iul.dcti.pa.a2013_14.filter.Filter;


public class LengthBelow implements Filter {

	@Override
	public Boolean accept(String myString) {
		if (myString.length() < comprimentoMin) {
			return false;
		}
		return true;
	}
	
	//Construtores
	public LengthBelow(int myLength) {
		this.comprimentoMin = myLength;
	}
	
	//atributos
	private int comprimentoMin;
}
